
package com.shycloud.mido.basic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shycloud.mido.basic.api.entity.BasSensitiveWords;


/**
 * 敏感词表 服务类
 *
 * @author yyy
 * @date 2019-02-26 16:32:57
 */
public interface BasSensitiveWordsService extends IService<BasSensitiveWords> {

	/**
	 * 保存敏感词汇
	 * @param basSensitiveWords 敏感词汇实体
	 * @return  成功失败
	 */
	boolean saveWords(BasSensitiveWords basSensitiveWords);

	/**
	 * 查询敏感词汇是否存在
	 * @param text
	 * @return
	 */
	Integer selByText(String text);

}
